package cn.iocoder.yudao.module.def.controller.admin.attachment.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 附件分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AttachmentPageReqVO extends PageParam {

    @Schema(description = "类别")
    private String category;

    @Schema(description = "管理员ID", example = "1641")
    private Integer adminId;

    @Schema(description = "会员ID", example = "18057")
    private Integer userId;

    @Schema(description = "物理路径", example = "https://www.iocoder.cn")
    private String url;

    @Schema(description = "宽度")
    private String imagewidth;

    @Schema(description = "高度")
    private String imageheight;

    @Schema(description = "图片类型", example = "2")
    private String imagetype;

    @Schema(description = "图片帧数")
    private Integer imageframes;

    @Schema(description = "文件名称", example = "李四")
    private String filename;

    @Schema(description = "文件大小")
    private Integer filesize;

    @Schema(description = "mime类型", example = "2")
    private String mimetype;

    @Schema(description = "透传数据")
    private String extparam;

    @Schema(description = "创建日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Integer[] createtime;

    @Schema(description = "更新时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Integer[] updatetime;

    @Schema(description = "上传时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Integer[] uploadtime;

    @Schema(description = "存储位置")
    private String storage;

    @Schema(description = "文件 sha1编码")
    private String sha1;

}